import { getRequest, postRequest } from '@/lib/axios';

//盲盒分类
export  const blinkboxCategoryQueryApi = (param) => {
    return getRequest ('/mobybox/blindbox/cate', param)
}
export  const blinkboxCategoryUpdateApi = (param) => {
    return postRequest ('/mobybox/blindbox/cate', param)
}
//盲盒列表
export  const blinkboxListQueryApi = (param) => {
    return getRequest ('/mobybox/blindbox/list', param)
}
export  const blinkboxListUpdateApi = (param) => {
    return postRequest ('/mobybox/blindbox/list', param)
}
//盲盒商品
export  const blinkboxGoodsQueryApi = (param) => {
    return getRequest ('/mobybox/blindbox/goods', param)
}
export  const blinkboxGoodsUpdateApi = (param) => {
    return postRequest ('/mobybox/blindbox/goods', param)
}
//盲盒订单
export  const blinkboxOrdersApi = (param) => {
    return postRequest ('/mobybox/blindbox/orders', param)
}
///盲盒兑换码
export  const blinkboxCodesApi = (param) => {
    return postRequest ('/mobybox/blindbox/codes', param)
}